<div id="header-basket">
	Warenkorb<br />
	<span id="header-basket-productcount"><?php echo $this->productCount ?></span> Artikel<br />
	<a href="<?php echo $this->urlToPage($this->config('pageIdCart')) ?>"><img style="position:absolute;bottom:-1px;right:-1px" src="sherpa/img/btn-checkout.gif" alt="Checkout" /></a>
</div>
<div id="header-basket-recently-added" style="display:none"></div>

<script type="text/javascript">
    //<![CDATA[
    function refreshCart()
    {
		// AJAX Request
		var url = 'sherpa/api/cart/count/';
		$.getJSON(url, function(data) {
			$("#header-basket-productcount").html(data);
		});

		$("#header-basket-recently-added").load('<?php echo $this->urlThisPage(array('sherpa_basket' => array('action' => 'lastadded'))) ?>');
		$('#header-basket-recently-added').css('display', 'block');
	}
    //]]>
</script>
